package com.xsm.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.deploy.net.HttpResponse;
import com.xsm.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


public interface DictService extends IService<Dict> {

    /**
     * 在dict表里查询parent_id 为id 的所有数据
     */
    List<Dict> selectAllDict(Long id);

    /**
     * 下载
     */
    void exportDict(HttpServletResponse response);

    /**
     * 上传
     */
    void uploading(MultipartFile file);
}
